﻿package me.zhengjie

import cn.hutool.core.date.DateUtil
import me.zhengjie.common.utils.JacksonUtil
import me.zhengjie.tools.domain.Picture
import org.junit.jupiter.api.Test
import java.sql.Timestamp
import java.util.Date

class JacksonUtilTest {
    @Test
    fun objecttojsonstr(){
        val picture = Picture(1L, "1", "1", "1", "1",
            "1", "1", DateUtil.now()
        )

        println(JacksonUtil.toJSONString(picture))
    }
}